package com.yunda.nebula.gateway.beandefine;

import org.springframework.cloud.gateway.route.RouteDefinition;

import java.util.List;

/**
 * \* User: wei.zhang
 * \* Date: 2019/11/12 16:21
 * \* Description:
 * \
 */
public interface BeanDefineProvider {
    public void refresh();

    public List<RouteDefinition> provider();

    public void remove(String id);

    public void add(RouteDefinition routeDefinition);
}
